<template>
  <div>
    我是子组件---> {{count}}
  </div>
</template>
<script setup>
const count = 999
const sayHi = ()=>{
  console.log("打招呼")
}
defineExpose({
  count,
  sayHi
})
</script>
<style scoped lang="less">

</style>
